package kr.saeildamil.androidstudy_second.fragment;

import kr.saeildamil.androidstudy_second.fragment.common.PlanetDescFragment;
import android.app.Activity;
import android.os.Bundle;

public class PlanetDescActiviry extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		int index = getIntent().getExtras().getInt("index");
		PlanetDescFragment details = PlanetDescFragment.newInstance(index);
		getFragmentManager().beginTransaction().add(android.R.id.content, details).commit();
	}
}
